const KoaRouter = require('koa-router')
const controllers = require('../controllers')

const router = new KoaRouter({
  prefix: '/api'
})

router.get('/houseList', controllers.getHouseList)
router.get('/houseDetail', controllers.getHouseDetail)
router.get('/homeSwiper', controllers.getHomeSwiper)

module.exports = router
